package com.guli.gulimall.gulimallproduct.feign;

import com.guli.common.utils.R;
import com.guli.to.SkureductionTo;
import com.guli.to.SpuBoundsTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "gulimallCouponS")
public interface CouponFeignService {

    @PostMapping("/gulimallcoupon/spubounds/save")
    R saveSpuBounds(@RequestBody SpuBoundsTo spuBoundsTo);

    @PostMapping("gulimallcoupon/skufullreduction/saveinfo")
    R saveSkuReduction(@RequestBody  SkureductionTo skureductionTo);
}
